import { CHANGE_AGE, CHANGE_NAME } from "./constants"

export const changeNameAction = (name) => ({
  type: CHANGE_NAME,
  name
})
export const changeAgeAction = (age) => ({
  type: CHANGE_AGE,
  age
})
